import Layout from "@/views/layout/index.vue";
import { RouteRecordRaw } from "vue-router";

const tool: RouteRecordRaw = {
    name: "tool",
    path: "/tool",
    component: Layout,
    redirect:'/tool/swiper',
    children: [
        {
            name: "swiper",
            path: "swiper",
            component: () => import("@/views/tool/swiper/index.vue"),
        },
        {
            name: "upload",
            path: "upload",
            component: () => import("@/views/tool/upload/index.vue"),
        },
        {
            name:"video",
            path:'video',
            component:() => import("@/views/tool/video/index.vue")
        }
    ],
}

export default tool